<script language="javascript" type="text/javascript">
<!--
function refresh_username(selected_username)
{
	opener.document.forms['post'].username.value = selected_username;
	opener.focus();
	window.close();
}
//-->
</script>

<form method="post" name="search" action="{S_SEARCH_ACTION}">
  <table width="100%" border="0" cellspacing="0" cellpadding="10">
    <tr>
      <td>
        <table width="100%" class="forumline" cellpadding="4" cellspacing="1" border="0">
          <tr>
            <td height="25" style="font-size:12px;"><STRONG>{L_SEARCH_USERNAME}</STRONG></td>
          </tr>
          <tr>
            <td valign="top"><span class="genmed"><br />
              <input type="text" name="search_username" value="{USERNAME}">
              &nbsp;
              <input type="submit" name="search" value="{L_SEARCH}">
              </span><br />
              <span class="gensmall">{L_SEARCH_EXPLAIN}</span><br />
              <!-- BEGIN switch_select_name -->
              <span class="genmed">{L_UPDATE_USERNAME}<br />
              <select name="username_list">
                {S_USERNAME_OPTIONS}
              </select>
              &nbsp;
              <input type="submit" class="liteoption" onClick="refresh_username(this.form.username_list.options[this.form.username_list.selectedIndex].value);return false;" name="use" value="{L_SELECT}" />
              </span><br />
              <!-- END switch_select_name -->
              <br />
              <span class="genmed"><a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></span></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>
